#include <stdio.h>

void f()
{
    static int a = 1;
    printf("f()1: a=%d\n", a);
    a = a + 1;
    printf("f()2: a=%d\n", a);
}

int main()
{
    printf("1:");
    f();
    printf("2:");
    f();
    return 0;
}